package com.tyqx.hashchainbiz.service;

import com.tyqx.hashchainbean.module.UseProduct;

import java.util.Date;
import java.util.List;

public interface UseProductService {
    public Integer useProduct(UseProduct useProduct)throws Exception;

    public List<UseProduct> getUseProductById(String donateId, String userName);

    public List<UseProduct> getUseProductByTime(Date startTime, Date endTime, String userName);
}
